Skip to content

Ignore build_docs.lock - #183

Merged
hugovk merged 2 commits into
python:mainfrom
egeakman:ignore-build-lock
Sep 17, 2024
Merged

Ignore build_docs.lock#183
hugovk merged 2 commits into
python:mainfrom
egeakman:ignore-build-lock

Conversation

@egeakman

Copy link
Copy Markdown
Contributor

No description provided.

@ezio-melotti ezio-melotti left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change seems harmless enough, but where does this file come from?

@rffontenelle

rffontenelle commented Sep 10, 2024

Copy link
Copy Markdown
Contributor

@ezio-melotti from build_docs.py entry point:

lock = zc.lockfile.LockFile(HERE / "build_docs.lock")

@egeakman

Copy link
Copy Markdown
Contributor Author

The change seems harmless enough, but where does this file come from?

It is created at line 1158.

This was added years ago, but I don't know when the file started to show up and not cleaned.

@hugovk

hugovk commented Sep 10, 2024

Copy link
Copy Markdown
Member

On the server, the script is started by an hourly cron schedule. The script checks for the lockfile, indicating there's already a running build.

If so, the new one exits, allowing the current one to continue.

If not, it creates a lockfile and begins the 40 hour build.

Comment thread .gitignore
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
@hugovk
hugovk merged commit 675a1b3 into python:main Sep 17, 2024
@egeakman
egeakman deleted the ignore-build-lock branch September 17, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants